package chapter03.Example01;
class Student1{
    String name;
    void read(){
        System.out.println("大家好,我是"+name);
    }
}
public class Example01 {
    public static void main(String[] args) {
        Student1 stu1 =new Student1();
        Student1 stu2 =new Student1();
        Student1 stu3 =new Student1();
        stu1.name = "阿祥";
        stu1.read();
        stu2.name = "阿涛";
        stu2.read();
        stu3.name = "阿亮";
        stu3.read();
    }
}
